import { createSSRApp } from 'vue'
import App from './App.vue'

import uView from './uni_modules/vk-uview-ui'
import YerBasePage from 'yer-components/components/yer-base-page/yer-base-page.vue'
import YerForm from 'yer-components/components/yer-form/yer-form.vue'

export function createApp() {
  const app = createSSRApp(App)
  app.use(uView)
  app.component('YerBasePage', YerBasePage)
  app.component('YerForm', YerForm)
  return {
    app
  }
}
